package com.zyh.fengzhuanghejichengzuoye.test3.domain;

public class WuGong extends Monster{
    public WuGong() {
    }

    public WuGong(String name, int HP, int attack) {
        super(name, HP, attack);
    }

    /*攻击方法
    @Override
    public void attack() {
        System.out.println("怪物"+getName()+"展开攻击");
    }*/

    //移动方法
    @Override
    public void move() {
        System.out.println("我是蜈蚣精，御风飞行");
    }
}
